package marchsoft.modules.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import marchsoft.base.BasicModel;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 附件关系表
 * </p>
 *
 * @author hxw
 * @since 2024-09-30
 */
@Data
@Accessors(chain = true)
@ApiModel(value="SysRelationFile对象", description="附件关系表")
public class SysRelationFile implements Serializable{

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "业务id")
    private Long serviceId;

    @ApiModelProperty(value = "文件名称")
    private String fileName;

    @ApiModelProperty(value = "文件路径")
    private String filePath;

    @ApiModelProperty(value = "文件后缀")
    private String fileSuffix;

    @ApiModelProperty(value = "文件大小")
    private Long fileSize;

    @ApiModelProperty(value = "上传时间")
    private LocalDateTime createdTime;

    @ApiModelProperty(value = "创建人")
    private Long createdUserId;

    @ApiModelProperty(value = "状态 1正常 0失效")
    private String status;

    @ApiModelProperty(value = "业务类型")
    private String serviceType;
}
